package com.jq.invoicing.test.vo;

import java.io.Serializable;

public class StoreViewID implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -4648670256026984467L;

	private long id;

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public boolean equals(Object obj){
		if(!(obj instanceof StoreViewID)){
			return false;
		}
		StoreViewID other = (StoreViewID)obj;
		if (!(other.getId() == this.id)) 
			return false;
		return true;
	}
	
	public int hashCode(){
		return String.valueOf(this.id).hashCode();
	}
}
